﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using suirui.ZhuMu.Model;
using suirui.ZhuMu.Entity;
using suirui.ZhuMu.Entity.Entities;

namespace suirui.ZhuMu.Repositories
{
    public interface IRoomRepository : IBaseRepository<Room>
    {
        /// <summary>
        /// 获取房间信息列表
        /// </summary>
        /// <returns></returns>
        Task<PageData<Room>> GetRoomList(GetParamsDto paramsDto);

        ///// <summary>
        ///// 根据房间状况查询
        ///// </summary>
        ///// <param name="paramsDto"></param>
        ///// <returns></returns>
        //Task<PageData<Room>> GetRoomListByCondition(RoomParam paramsDto);
        /// <summary>
        /// 添加房间信息
        /// </summary>
        /// <param name="health"></param>
        Task<bool> AddRoom(Room health);
        /// <summary>
        /// 更新房间信息
        /// </summary>
        /// <param name="health"></param>
        Task<bool> UpdateRoom(Room health);
    }
}
